﻿<?php ob_start();

session_start(); 

ob_clean();

?><?php //session_start();

global $wpdb;

$visit_count = $wpdb->get_var( "SELECT value FROM wp_draft WHERE ID = 2");

$visit_count=$visit_count+1;

$wpdb->query("UPDATE wp_draft SET value=".$visit_count." WHERE ID = 2");

LuuThongTin();

?><?php



/**

 * The Header for our theme.

 *

 * Displays all of the <head> section and everything up till <div id="main">

 *

 * @package WordPress

 * @subpackage Cherry IT Solutions

 * @since 2011

 */

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title><?php bloginfo( 'name' );?></title>

<link href="<?php bloginfo("template_directory"); ?>/_css/reset.css" rel="stylesheet" type="text/css">

<link href="<?php bloginfo("template_directory"); ?>/_css/cy-style.css" rel="stylesheet" type="text/css">
<link rel="icon" type="<?php bloginfo("template_directory"); ?>/image/icon" href="../../theme_web500k_vn/_js/favicon.ico">
<script type="text/javascript" src="<?php bloginfo("template_directory"); ?>/_js/jquery.js"></script>
<script src="<?php bloginfo("template_directory"); ?>/_js/jquery.corner.js" type="text/javascript"></script>
<script src="<?php bloginfo("template_directory"); ?>/_js/jquery.validate.pack.js" type="text/javascript"></script>
<script language="JavaScript" src="<?php bloginfo("template_directory"); ?>/_js/gen_validatorv31.js" type="text/javascript"></script>
<script type="text/javascript">
$('div.cy-content').corner('10px:top');
$('div.box-s').corner('10px');
$('div.content').corner('10px');
</script>

<!-- <script type="text/javascript" src="_js/jquery.js"></script> -->

<!--[if IE 6]>

	<script type="text/javascript" src="_js/unitpngfix.js"></script>

<![endif]-->

</head>



<!--[if gte IE 8]>

<body class="ie8">

<![endif]-->

<!--[if IE 7]>

<body class="ie7">

<![endif]-->

<!--[if IE 6]>

<body class="ie6">

<![endif]-->

<!--[if !IE]><!-->

<body>

<!--<![endif]-->



<div class="cy-wrapper">

	<div class="cy-header">

		<div class="cy-logo">

            <a href="<?php bloginfo('url');?>"><img src="<?php bloginfo("template_directory"); ?>/_img/logo.png" alt="logo" /></a>

		</div><!-- cy-logo -->

        <div class="cy-language">

          <div class="cy-flag">

         <?php  echo qtrans_generateLanguageSelectCode('image'); ?>

			</div><!--cy-flag-->

        </div><!-- cy-language -->

     <?php locate_template('modules/header/search01.php', true); ?>

	</div><!-- cy-header -->

    <div class="cy-menu">

        <ul>
			<?php if($_GET['lang']=='vi'){?>
			<a <?php if(is_page('url')) echo 'class="active"';?>  href="<?php bloginfo('url');?>"> <li>Trang Chủ</li></a>

            <a <?php if(is_page('320')) echo 'class="active"';?>  href="<?php echo get_page_link(320); ?>"><li>Giới Thiệu</li></a>

            <a <?php if(is_page('324')) echo 'class="active"';?>  href="<?php echo get_page_link(324); ?>"><li>Sản Phẩm</li></a>

            <a <?php if(is_page('326')) echo 'class="active"';?>  href="<?php echo get_page_link(326); ?>"><li>Tin Tức</li></a>

            <a <?php if(is_page('328')) echo 'class="active"';?>  href="<?php echo get_page_link(328); ?>"><li>Dịch Vụ</li></a>

            <a <?php if(is_page('330')) echo 'class="active"';?>  href="<?php echo get_page_link(330); ?>"><li>Liên Hệ</li></a>

            <a <?php if(is_page('332')) echo 'class="active"';?>  href="<?php echo get_page_link(332); ?>"><li>Hỏi Đáp</li></a>
          <a href="http://big-international.com/e-catalog/"><li>E-catalogue</li></a>
      			<?php }else{?>
     			 
                 <a href="<?php bloginfo('url');?>"> <li>Home</li></a>

            <a <?php if(is_page('320')) echo 'class="active"';?>  href="<?php echo get_page_link(320); ?>"><li>About Us</li></a>

            <a <?php if(is_page('324')) echo 'class="active"';?>  href="<?php echo get_page_link(324); ?>"><li>Products</li></a>

            <a <?php if(is_page('326')) echo 'class="active"';?>  href="<?php echo get_page_link(326); ?>"><li>News</li></a>

            <a <?php if(is_page('328')) echo 'class="active"';?>  href="<?php echo get_page_link(328); ?>"><li>Service</li></a>

            <a <?php if(is_page('330')) echo 'class="active"';?>  href="<?php echo get_page_link(330); ?>"><li>Contact</li></a>

            <a <?php if(is_page('332')) echo 'class="active"';?>  href="<?php echo get_page_link(332); ?>"><li>FAQ</li></a>
          	 <a href="http://big-international.com/e-catalog/"><li>E-catalogue</li></a>
     			 <?php }?>
        </ul>

    </div><!-- cy-menu -->